Method of pre-processing data on a host machine for a host-based print system

ABSTRACT

The software on the host machine examines a pixel, either alone or in relation to adjacent pixels. Based on the image data contained in the pixel or group of pixels, a multi-bit value is generated that can be used by the printing device to easily reproduce the necessary detail of the original pixel. The multi-bit value also contains print engine control parameters to handle items such as toner miser mode, toner explosion, edge roll off, etc. The multi-bit value can be generated algorithmically by using a lookup table or by some combination of these methods.

BACKGROUND

Prior solutions typically use original print data to generate single bit print data on a host machine, e.g. computer. Reducing the print data to a single bit stream enables faster transfer of the data between the host machine and the printing device. While this allows for higher print speeds, there is significant loss of image detail.

To compensate for the loss of image detail, extensive processing is done on the printing device to reconstruct the original image detail using the single bit data stream. This is typically done with extensive hardware circuits and or high-powered processors. These hardware resources add significant cost to the printing device.

FIG. 1 illustrates an overview process flowchart according the prior art described above. On the host machine, an application, e.g. Microsoft PowerPoint, generates page data at a defined pixel rate, e.g. 8 bits per plane per pixel. The image processor renders page data to 1 bit per plane per pixel. While this will allow for faster data transfer to the printer, much of the image detail is lost. The image processed data may be further compressed, e.g. JBIG or JPEG, to facilitate data transfer. The host I/O manages the data to and from the printer.

The printer I/O manages data to and from the host machine. If the received data has been compressed, it will be uncompressed according to the appropriate decompression algorithm. The imaging processing hardware attempts to recreate the details of the original image data using 1 bit per plane per pixel data. A pulse code generator generates pulse codes to control the laser using the modified image data from the image processing hardware. The print engine mechanism uses the pulse codes to print hardcopy image.

FIG. 2 illustrates a functional block diagram of the host machine according to the prior art described in FIG. 1. The application interacts with the operating system (OS) Graphics Interface. A spooler stores data, received via the OS Graphics Interface, in object form. The print processor reads graphics objects stored by the spooler and generates a raster bitmap. The bitmap contains 1-bit per pixel values.

SUMMARY

In the present invention, the processing required to generate high quality print output is shifted from the printing device to the host machine. This allows for minimal hardware resources on the printing device.

In one embodiment, a printing system comprises a host machine and a printing device. The host machine includes an application, image processor, optional controller, and an I/O device. The application generates page data. An image processor receives the page data and renders interim data that contains a multi-bit value per plane per pixel. The interim data may be optionally compressed. I/O device transfers the data to the printing device. The printing device includes an I/O device, an optional controller, a pulse code generator, and a print engine mechanism. The I/O device receives data from the host machine. The controller decompresses the data, if compressed. The pulse code generator, receives the interim data, for each multi-bit value, then generates a pulse code corresponding to the multi-bit value. The print engine receives the pulse codes and transforms the pulse code to a hardcopy image.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an overview process flowchart according to the prior art.

FIG. 2 illustrates a functional block diagram of the host machine according to the prior art described in FIG. 1.

FIG. 3 illustrates an overview process flowchart according to the present invention.

FIG. 4 illustrates a functional block diagram of the host machine according to the flowchart described in FIG. 3.

DETAILED DESCRIPTION

The interim data accurately represents the original print data without losing necessary detail while significantly reducing the overall size of the print data. The interim, multi-bit values are generated in a way that allows the printing device to easily convert them into high quality print output.

In operation, the software on the host machine examines a pixel, either alone or in relation to adjacent pixels. Based on the image data contained in the pixel or group of pixels, a multi-bit value is generated that can be used by the printing device to easily reproduce the necessary detail of the original pixel. The multi-bit value also contains print engine control parameters that effect print quality enhancements such as toner miser mode, toner explosion, edge roll off, etc. The multi-bit value can be generated algorithmically by using a lookup table or by some combination of these methods.

FIG. 3 illustrates a process flowchart 100 according to the present invention.

Steps 110-140 are accomplished on the host machine. In step 110, an application generates page data at a selected bit rate per plane per pixel, e.g. 8 bits. In step 120, the imaging processor renders data to a multi-bit per plane per pixel interim value. This interim value contains all necessary image detail as well as print engine control parameters to handle print quality items, e.g. toner miser and resolution enhancement. In step 130, the data is optionally compressed to facilitate data transfer. Compression can be done using a lossless algorithm, e.g. JBIG, or by using a lossy algorithm, e.g. JPEG. In step 140, the interim data is transferred to and from the printing device.

Steps 150-180 are accomplished on the printing device. In step 150, data is transferred to and from the host machine. In step 160, if the data has been compressed, the data will be decompressed using the same algorithm that was used to compress the data. In step 170, the pulse codes are generated from the interim multi-bit values since it contains all necessary image detail and print engine control parameters. In step 180, the pulse codes are used to print a hardcopy image.

FIG. 4 illustrates a functional block diagram of the host machine according to the invention described in FIG. 3. The application 10 interacts with the operating system (OS) Graphics Interface 12. A spooler 14 stores data, received via the OS Graphics Interface 12, in object form. The print processor 16 reads graphics objects stored by the spooler 14 and generates a raster bitmap. The bitmap contains 8-bit per pixel values. Any print processor that generates an 8-bit per pixel values maybe used, e.g. that offered by Microsoft or Hewlett-Packard.

In the present invention, the print processor 16 examines the pixels in the raster bitmap, either individually or in relation to neighboring pixels. After this analysis, a corresponding multi-bit value (includes 2 and 4 bit values) that accurately represents the original pixel is generated. The multi-bit value may be generated using a look-up table or algorithmically. The multi-bit values can also encapsulate print engine control information to handle print quality items including toner explosion, toner miser, and resolution enhancement.

The pulse codes are coded data used to instruct the Pulse Width Modulator (PWM) block on what to do for a single pixel. Pulse codes can contain pulse position information (i.e. left, right, center, split) and pulse width information (i.e. make the pulse 15/32 of a pixel wide).

Toner Explosion is a problem with certain patterns of toner on certain types of media under certain ambient conditions that causes some of the toner to relocate on the page—the page ends up looking like tiny explosives were set off under the toner.

Toner Miser allows the reduction of the amount of toner used to render the image on a page. This is usually associated with a ‘draft’ mode and the image quality is usually less than that of a normally printed page.

In Resolution Enhancement, the apparent resolution of the output image is increased. It also reduces the ‘jagged’ edges caused by converting an image to a discrete pattern of 1's and 0's. Resolution enhancement is also used to reduce the stair step edges in slanted lines and also smooth out curved edges. 

1. A printing method, comprising: generating page data having a first number of bits per plane per pixel from a first application running on a host machine; examining the page data by use of a second application running on the host machine; rendering, by the host machine, interim data that combines printer ready data with print engine control commands, wherein the print engine control commands include at least one of a command to control a print engine in a toner miser mode, a command to control a print engine to perform toner explosion correction, and a command to control resolution enhancement, and wherein the interim data has a second number of bits per plane per pixel that is lower than the first number of bits and higher than one bit per plane per pixel; transferring the interim data to a printing device; generating, within the printing device, pulse codes from the interim data; and rendering a hardcopy image from the pulse codes.
 2. The printing method of claim 1, further comprising: displaying the page data having the first number of bits on a display of the host machine.
 3. The printing method of claim 1, wherein the print engine control command to control resolution enhancement is operable to control a print engine to reduce edges.
 4. The printing method of claim 1, wherein the interim data contains all information necessary for the printing device to produce the hardcopy image with the same detail contained in the page data.
 5. A printing system including a host machine and a printing device, the printing system comprising: a first software application on the host machine configured to generate page data having a first number of bits per plane per pixel; a second software application on the host machine configured to examine the page data; a print data processor in the host machine configured to render interim data that combines printer ready data with print engine control commands, wherein the print engine control commands include at least one of a command to control a print engine in a toner miser mode, a command to control a print engine to perform toner explosion correction, and a command to control resolution enhancement, and wherein the interim data has a second number of bits per plane per pixel that is lower than the first number of bits and higher than one bit per plane per pixel; a first communication device in the host machine configured to transfer the interim data; a second communication device in the printing device configured to receive the interim data; a pulse code generator in the printing device configured to receive the interim data and configured to generate a pulse code corresponding to the interim data; and a print engine configured to receive the pulse code and transform the pulse code to a hardcopy image.
 6. The printing system of claim 5, wherein the print data processor is configured to utilize a lookup table to generate the interim data.
 7. The printing system of claim 5, wherein the host machine is a personal computer configured to display the page data having the first number of bits.
 8. The printing system of claim 5, wherein the print engine control command to control resolution enhancement is operable to control the print engine to reduce edges.
 9. The printing system of claim 5, wherein the interim data contains all information necessary for the printing device to produce the hardcopy image with the same detail contained in the page data.
 10. A printing method using a host machine utilizing at least one processor, and a printing device, the printing method comprising: generating page data having a first number of bits per plane per pixel from a first application running on a host machine utilizing the at least one processor; examining the page data by use of a second application running on the host machine utilizing the at least one processor; rendering, by the host machine utilizing the at least one processor, interim data that combines printer ready data with print engine control commands, wherein the print engine control commands include at least one of a command to control a print engine in a toner miser mode, a command to control a print engine to perform toner explosion correction, and a command to control resolution enhancement, and wherein the interim data has a second number of bits per plane per pixel that is lower than the first number of bits and higher than one bit per plane per pixel; compressing, using a compression algorithm, the interim data in the host machine utilizing the at least one processor; and transferring the compressed interim data to a printing device.
 11. The printing method of claim 10, wherein the print engine control command to control resolution enhancement is operable to control a print engine to reduce edges.
 12. The printing method of claim 10, further comprising: decompressing the compressed interim data in the printing device; generating, within the printing device, pulse codes from the decompressed interim data; and rendering a hardcopy image from the pulse codes.
 13. The printing method of claim 12, wherein the compression algorithm comprises JBIG.
 14. The printing method of claim 12, wherein the compression algorithm comprises JPEG.
 15. The printing method of claim 10, decompressing, using the compression algorithm, the compressed interim data in the printing device; wherein the host device includes image processing and the printing device does not include image processing.
 16. The printing method of claim 10, wherein the pulse code contains pulse width information and pulse position information, wherein the pulse position information is selected from the group consisting of left-justified, right-justified, center-justified, and split-justified. 